package com.testnacos.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(value = "nacos-provider",fallback = KillSunleiImpl.class)
public interface KillSunlei {


    @RequestMapping("/killyou")
    public String kill();

    @RequestMapping("/showPorts")
    public String showPorts();
}
